[INFO] updating cached repository https://github.com/GrandArchTemplar/python-useless-rust-too
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }`
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 358eb4fc9ed81f26aa944856775321417af7ea19
[INFO] checking GrandArchTemplar/python-useless-rust-too against try#5c7108a2805ef56743d713d2789c5e802631c9e8 for pr-97739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrandArchTemplar%2Fpython-useless-rust-too" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/GrandArchTemplar/python-useless-rust-too on toolchain 5c7108a2805ef56743d713d2789c5e802631c9e8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/GrandArchTemplar/python-useless-rust-too
[INFO] finished tweaking git repo https://github.com/GrandArchTemplar/python-useless-rust-too
[INFO] tweaked toml for git repo https://github.com/GrandArchTemplar/python-useless-rust-too written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/GrandArchTemplar/python-useless-rust-too already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] e8742a3755948935a65bc4c8b8be7df06de3c56e1c92497f1dce38a44e08bd6d
[INFO] running `Command { std: "docker" "start" "-a" "e8742a3755948935a65bc4c8b8be7df06de3c56e1c92497f1dce38a44e08bd6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e8742a3755948935a65bc4c8b8be7df06de3c56e1c92497f1dce38a44e08bd6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e8742a3755948935a65bc4c8b8be7df06de3c56e1c92497f1dce38a44e08bd6d", kill_on_drop: false }`
[INFO] [stdout] e8742a3755948935a65bc4c8b8be7df06de3c56e1c92497f1dce38a44e08bd6d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cc9f915d320ee2d7062a3a6407d4eee06800207455a4cea94fdcb37acafd20ec
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "cc9f915d320ee2d7062a3a6407d4eee06800207455a4cea94fdcb37acafd20ec", kill_on_drop: false }`
[INFO] [stderr]     Checking python-useless-rust-too v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::program::Program`
[INFO] [stdout]  --> src/parser.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::program::Program;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::program::Program`
[INFO] [stdout]  --> src/parser.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::program::Program;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/parser.rs:19:28
[INFO] [stdout]    |
[INFO] [stdout] 19 |         return (self.parse.borrow())(input)
[INFO] [stdout]    |                            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: type must be known at this point
[INFO] [stdout] help: try using a fully qualified path to specify the expected types
[INFO] [stdout]    |
[INFO] [stdout] 19 |         return (<Box<fn(GlitchType<T>) -> Result<GlitchType<T>, String>> as Borrow<Borrowed>>::borrow(&self.parse))(input)
[INFO] [stdout]    |                 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++          ~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/parser.rs:19:28
[INFO] [stdout]    |
[INFO] [stdout] 19 |         return (self.parse.borrow())(input)
[INFO] [stdout]    |                            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: type must be known at this point
[INFO] [stdout] help: try using a fully qualified path to specify the expected types
[INFO] [stdout]    |
[INFO] [stdout] 19 |         return (<Box<fn(GlitchType<T>) -> Result<GlitchType<T>, String>> as Borrow<Borrowed>>::borrow(&self.parse))(input)
[INFO] [stdout]    |                 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++          ~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/parser.rs:65:25
[INFO] [stdout]    |
[INFO] [stdout] 65 |           parse: Box::new(|input| {
[INFO] [stdout]    |  ________________--------_^
[INFO] [stdout]    | |                |
[INFO] [stdout]    | |                arguments to this function are incorrect
[INFO] [stdout] 66 | |             return match left.parse(input) {
[INFO] [stdout] 67 | |                 Ok(x) => Ok(x),
[INFO] [stdout] 68 | |                 Err(err) => right.parse(input),
[INFO] [stdout] 69 | |             };
[INFO] [stdout] 70 | |         })
[INFO] [stdout]    | |_________^ expected fn pointer, found closure
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected fn pointer `fn(GlitchType<T>) -> Result<GlitchType<T>, String>`
[INFO] [stdout]                  found closure `[closure@src/parser.rs:65:25: 70:10]`
[INFO] [stdout] note: closures can only be coerced to `fn` types if they do not capture any variables
[INFO] [stdout]   --> src/parser.rs:66:26
[INFO] [stdout]    |
[INFO] [stdout] 66 |             return match left.parse(input) {
[INFO] [stdout]    |                          ^^^^ `left` captured here
[INFO] [stdout] 67 |                 Ok(x) => Ok(x),
[INFO] [stdout] 68 |                 Err(err) => right.parse(input),
[INFO] [stdout]    |                             ^^^^^ `right` captured here
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/parser.rs:65:25
[INFO] [stdout]    |
[INFO] [stdout] 65 |           parse: Box::new(|input| {
[INFO] [stdout]    |  ________________--------_^
[INFO] [stdout]    | |                |
[INFO] [stdout]    | |                arguments to this function are incorrect
[INFO] [stdout] 66 | |             return match left.parse(input) {
[INFO] [stdout] 67 | |                 Ok(x) => Ok(x),
[INFO] [stdout] 68 | |                 Err(err) => right.parse(input),
[INFO] [stdout] 69 | |             };
[INFO] [stdout] 70 | |         })
[INFO] [stdout]    | |_________^ expected fn pointer, found closure
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected fn pointer `fn(GlitchType<T>) -> Result<GlitchType<T>, String>`
[INFO] [stdout]                  found closure `[closure@src/parser.rs:65:25: 70:10]`
[INFO] [stdout] note: closures can only be coerced to `fn` types if they do not capture any variables
[INFO] [stdout]   --> src/parser.rs:66:26
[INFO] [stdout]    |
[INFO] [stdout] 66 |             return match left.parse(input) {
[INFO] [stdout]    |                          ^^^^ `left` captured here
[INFO] [stdout] 67 |                 Ok(x) => Ok(x),
[INFO] [stdout] 68 |                 Err(err) => right.parse(input),
[INFO] [stdout]    |                             ^^^^^ `right` captured here
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `python-useless-rust-too` due to 3 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `python-useless-rust-too` due to 3 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "cc9f915d320ee2d7062a3a6407d4eee06800207455a4cea94fdcb37acafd20ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc9f915d320ee2d7062a3a6407d4eee06800207455a4cea94fdcb37acafd20ec", kill_on_drop: false }`
[INFO] [stdout] cc9f915d320ee2d7062a3a6407d4eee06800207455a4cea94fdcb37acafd20ec
